// 1 为输入框input
// 2 为下拉选择select  21 多选下拉框
// 3 为日期选择框  31 日期范围
// 4 为多行文本输入textarea
export const allFields = [
  { fieldName: 'keyArea', fieldTxt: '治安重点地区', placeholder: '请输入治安重点地区', UiType: 1, must: true },
  { fieldName: 'problem', fieldTxt: '治安突出问题', placeholder: '请选择治安突出问题', UiType: 2, must: true },
  { fieldName: 'areaType', fieldTxt: '涉及区域类型', placeholder: '请选择涉及区域类型', UiType: 2, must: true },
  { fieldName: 'areaScope', fieldTxt: '涉及区域范围', placeholder: '请输入涉及区域范围', UiType: 4, must: true },
  { fieldName: 'leadingUnit', fieldTxt: '整治牵头单位', placeholder: '请输入整治牵头单位', UiType: 4 },
  { fieldName: 'involveUnit', fieldTxt: '整治参与单位', placeholder: '请输入整治参与单位', UiType: 4 },
  { fieldName: 'leadingUnitPersonName', fieldTxt: '整治牵头单位负责人姓名', placeholder: '请输入整治牵头单位负责人姓名', UiType: 1, must: true },
  { fieldName: 'contact', fieldTxt: '联系方式', placeholder: '请输入联系方式', UiType: 1, must: true },
  { fieldName: 'improveDateBetween', fieldTxt: '整改时限', placeholder: '请选择整改时限', UiType: 31, must: true },
  // { fieldName: 'improveDateBegin', fieldTxt: '整改时限开始', placeholder: '请选择整改时限开始时间', UiType: 31 },
  // { fieldName: 'improveDateEnd', fieldTxt: '整改时限结束', placeholder: '请选择整改时限结束时间', UiType: 31 },
  { fieldName: 'crimeCaseNum', fieldTxt: '整治期间破获刑事案件数', placeholder: '请输入整治期间破获刑事案件数', UiType: 1 },
  { fieldName: 'handleCaseNum', fieldTxt: '整治期间查处治安案件数', placeholder: '请输入整治期间查处治安案件数', UiType: 1 },
  { fieldName: 'situationExplain', fieldTxt: '整治情况说明', placeholder: '请输入整治情况说明', UiType: 4, must: true },
  { fieldName: 'assessResult', fieldTxt: '效果评估', placeholder: '请选择效果评估', UiType: 2, must: true }
]

export const optList = {
  problem: [
    { code: '01', name: '命案' },
    { code: '02', name: '入室盗窃' },
    { code: '03', name: '抢劫抢夺' },
    { code: '04', name: '电信诈骗' },
    { code: '05', name: '拎包扒窃' },
    { code: '06', name: '偷盗机动车' },
    { code: '07', name: '卖淫嫖娼' },
    { code: '08', name: '赌博' },
    { code: '09', name: '拐卖妇女儿童' },
    { code: '10', name: '制假贩假' },
    { code: '11', name: '制黄贩黄' },
    { code: '12', name: '高利贷' },
    { code: '13', name: '强买强卖' },
    { code: '14', name: '交通秩序混乱' },
    { code: '99', name: '其他' }
  ],
  areaType: [
    { code: '01', name: '学校周边' },
    { code: '02', name: '交通场站' },
    { code: '03', name: '娱乐场所' },
    { code: '04', name: '集贸市场' },
    { code: '05', name: '城乡接合部' },
    { code: '06', name: '重点线路' },
    { code: '99', name: '其他' }
  ],
  assessResult: [
    { code: '01', name: '好' },
    { code: '02', name: '较好' },
    { code: '03', name: '差' },
    { code: '04', name: '较差' }
  ]
}
